/**
 * 
 */
function winOpenInit()
{
	document.getElementById('btnFind').onclick=function()
	{
		win = window.open('win_sub.html', 'win', '');
	}
}
function winSubInit()
{
	tar = window.opener.document.frm;
	tar.address.value='우편번호를 검색 하세요...';
	var s = document.getElementById('sel');
	s.onchange = function()
	{
		var pos = s.selectedIndex;
		var zip = s[pos].value.split('-');
		var address = s[pos].text;
		
		tar.zip1.value = zip[0];
		tar.zip2.value = zip[1];
		tar.address.value = address;
	}
}